package com.lf.cloud.test;

import java.util.HashMap;
import java.util.Map;

import com.jfinal.kit.JsonKit;

public class CollectionData {
	
	
	public static void main(String[] args) {
		
		
		
		
		/*
	{
  "token": "b2cab4d54d450469db3f1f735387f3b2f",
  "account":"18156565656",
  "password":"785452",
  "captcha":"",
  "type":"",
  "website":"chinatelecomah"
}

	
		*/
		
		
		 Map<String , String> parm = new HashMap<String , String>();
		 
		 
		 
		 parm.put("token", "b9ad7ced91e94bf2aec20d65cb8ee590");
		 parm.put("account", "15600256569");
		 parm.put("password", "756356627.a"); //756356627.a
		 parm.put("captcha", "587901");
		 parm.put("queryPwd", "");
		 parm.put("type", "SUBMIT_CAPTCHA");
		 parm.put("website", "jingdong");

		 String url = "https://www.juxinli.com/orgApi/rest/v2/messages/collect/req";
		
		 String json = JsonKit.toJson(parm);
		 System.out.println(json);
		 
		 String doPostJson = HttpClientUtil.doPostJson(url, json);
		 
		 System.out.println(doPostJson);
		 
		 
		
		
	
	}

}
